package com.shiyipicture.shiyipicturebackend.controller;

import com.shiyipicture.shiyipicturebackend.common.BaseResponse;
import com.shiyipicture.shiyipicturebackend.common.ResultUtils;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/main")
public class MainController {

  @GetMapping("/health")
  public BaseResponse<String> health(){
    return ResultUtils.success("ok");
  }
}
